package com.farm.opjo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 *农作物的实体类
 */
@Table(name="t_crops")
public class Crops implements Serializable {
    @Id
    private Integer  id ;//植物ID
    private String name;//植物名称
    private String  alias;//别名
    private String cdoosgs;//界门纲目科属种
    private String info;//介绍
    private String area;//分布区域
    private String aspect;//外观
    private String cultivation;//栽培技术
    private String timenodes;//生长阶段时间 举例(10，20，30) 依次代表幼苗期，成长

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getCdoosgs() {
        return cdoosgs;
    }

    public void setCdoosgs(String cdoosgs) {
        this.cdoosgs = cdoosgs;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAspect() {
        return aspect;
    }

    public void setAspect(String aspect) {
        this.aspect = aspect;
    }

    public String getCultivation() {
        return cultivation;
    }

    public void setCultivation(String cultivation) {
        this.cultivation = cultivation;
    }

    public String getTimenodes() {
        return timenodes;
    }

    public void setTimenodes(String timenodes) {
        this.timenodes = timenodes;
    }
}
